﻿// ***********************************************************************
// Assembly         : SecurityLayer
// Author           : LJO+01 (Laurent Jordi)
// Created          : 06-05-2013
// Last Modified By : LJO+01 (Laurent Jordi)
// Last Modified On : 06-05-2013
// ***********************************************************************
// <copyright file="Register_MetaData.cs" company="Copyright © Innovacall 2011">
//     Copyright (c) Copyright © Innovacall 2011. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using InnovaApp.Layers.ResourcesLayer.Properties;
using INNOVACALL.Framework.Common.MVCHelpers.Localization;

namespace InnovaApp.Layers.SecurityLayer.Models.MetaData
{
    /// <summary>
    /// Class Register_MetaData
    /// </summary>
    public class Register_MetaData : Register_Base_MetaData
    {
        /// <summary>
        /// Gets or sets the F k_ genre.
        /// </summary>
        /// <value>The F k_ genre.</value>
        [Required]
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources), Name = "Ety_Register_Genre")]
        public int FK_Genre { get; set; }

        /// <summary>
        /// Gets or sets the first name.
        /// </summary>
        /// <value>The first name.</value>
        [Required]
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources), Name = "Ety_Register_FirstName")]
        public string FirstName { get; set; }

        /// <summary>
        /// Gets or sets the last name.
        /// </summary>
        /// <value>The last name.</value>
        [Required]
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources), Name = "Ety_Register_LastName")]
        public string LastName { get; set; }

        //Champs de base
        /// <summary>
        /// Gets or sets the name of the user.
        /// </summary>
        /// <value>The name of the user.</value>
        [Required]
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources), Name = "Ety_Register_Login")]
        public string UserName { get; set; }

    }
}
